package org.dyz.chatroom.client;

import org.dyz.chatroom.client.views.SquareView;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	@Override	
	public void createInitialLayout(IPageLayout layout) {
//		layout.setEditorAreaVisible(false);
		String editorArea=layout.getEditorArea();
		layout.addView(SquareView.SQUAREVIEW_ID, IPageLayout.LEFT, 0.45f, editorArea);
		System.out.println("haha");
	}
}
